// samsting : this file is auto create.

#ifndef ALIYUN_OssAdmin_PutBucketPolicyRequest_H_
#define ALIYUN_OssAdmin_PutBucketPolicyRequest_H_

#include "core/rpc_acs_request.h"

namespace aliyun { namespace OssAdmin {

class PutBucketPolicyRequest : public RpcAcsRequest {
public:
  PutBucketPolicyRequest();

  const string& Getuid(void) const;
  void          Setuid(const string& uid);

  const string& Getbid(void) const;
  void          Setbid(const string& bid);

  const string& GetBucketName(void) const;
  void          SetBucketName(const string& BucketName);

  const string& GetIamPolicy(void) const;
  void          SetIamPolicy(const string& IamPolicy);

  bool GetDisallowEmptyRefer(void) const;
  void SetDisallowEmptyRefer(bool DisallowEmptyRefer);

  bool GetEnableDualCluster(void) const;
  void SetEnableDualCluster(bool EnableDualCluster);

  const string& GetErrorFile(void) const;
  void          SetErrorFile(const string& ErrorFile);

  const string& GetIndexFile(void) const;
  void          SetIndexFile(const string& IndexFile);

  const string& GetLocation(void) const;
  void          SetLocation(const string& Location);

  const string& GetLogBucket(void) const;
  void          SetLogBucket(const string& LogBucket);

  const string& GetLogPrefix(void) const;
  void          SetLogPrefix(const string& LogPrefix);

  const string& GetWhiteReferList(void) const;
  void          SetWhiteReferList(const string& WhiteReferList);

  const string& GetOwnerAccount(void) const;
  void          SetOwnerAccount(const string& OwnerAccount);

private:
  string uid_;
  string bid_;
  string BucketName_;
  string IamPolicy_;
  bool   DisallowEmptyRefer_;
  bool   EnableDualCluster_;
  string ErrorFile_;
  string IndexFile_;
  string Location_;
  string LogBucket_;
  string LogPrefix_;
  string WhiteReferList_;
  string OwnerAccount_;

};

} } // namespace aliyun { namespace OssAdmin {

#endif // #ifndef ALIYUN_OssAdmin_PutBucketPolicyRequest_H_

// end of file 
